from docx.enum.style import WD_STYLE_TYPE
from docx import Document
from docx.shared import Cm,Pt,RGBColor
from docx.enum.table import WD_TABLE_ALIGNMENT
from docx.enum.table import WD_ALIGN_VERTICAL
from docx.enum.text import WD_ALIGN_PARAGRAPH


doc = Document()
styles=doc.styles
styles_list = []
for s in styles:
    if s.type == WD_STYLE_TYPE.TABLE:
        styles_list.append(s.name)

for styles in styles_list:
    doc.add_paragraph(styles)
    doc.add_table(2,3, style = styles)

doc.save('table_styles.docx')